package com.jijuxie.agent.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jijuxie.common.core.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@TableName("agent_info")
@EqualsAndHashCode(callSuper = true)
public class AgentInfo extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Long agentId;

    private Long userId;

    private String realName;

    private String idCard;

    private String company;

    private String position;

    private Integer workYears;

    /**
     * 状态（0待审核 1正常 2停用）
     */
    private String status;

    /**
     * 删除标志（0存在 1删除）
     */
    @TableLogic
    private String delFlag;
}
